/**
 * The preload script runs before. It has access to web APIs
 * as well as Electron's renderer process modules and some
 * polyfilled Node.js functions.
 *
 * https://www.electronjs.org/docs/latest/tutorial/sandbox
 */
// const { contextBridge, ipcRenderer } = require('electron')
//
// contextBridge.exposeInMainWorld('electronAPI', {
//     closeApp: () => ipcRenderer.send('close-app'),
//     maxApp: () => ipcRenderer.send('max-app'),
//     unmaxApp: () => ipcRenderer.send('unmax-app'),
//     minApp: () => ipcRenderer.send('min-app'),
//     maxHandle: (ismax) => ipcRenderer.on('max-handle', ismax)
// })